this._requestExtensionCookie = null;
- this._timerChildProxy = TimerChildProxy(Gio.DBus.system,
+ this._timerChildProxy = new TimerChildProxy(Gio.DBus.system,
'org.freedesktop.MalcontentTimer1',
'/org/freedesktop/MalcontentTimer1',
(proxy, error) => {
constructor() {
super();
- this._aggregateProvider = Provider(Gio.DBus.system,
+ this._aggregateProvider = new Provider(Gio.DBus.system,
'org.freedesktop.realmd',
'/org/freedesktop/realmd',
this._reloadRealms.bind(this));
return;
for (let i = 0; i < realmPaths.length; i++) {
- Realm(Gio.DBus.system,
+ new Realm(Gio.DBus.system,
'org.freedesktop.realmd',
realmPaths[i],
this._onRealmLoaded.bind(this));
}
release() {
- Service(Gio.DBus.system,
+ new Service(Gio.DBus.system,
'org.freedesktop.realmd',
'/org/freedesktop/realmd',
service => service.ReleaseAsync().catch(logError));
this._estimatedTimes = [];
this._timerChildProxyFactory = timerChildProxyFactory ?? {
new: () => {
- return TimerChildProxy(Gio.DBus.system,
+ return new TimerChildProxy(Gio.DBus.system,
'org.freedesktop.MalcontentTimer1',
'/org/freedesktop/MalcontentTimer1',
(proxy, error) => {